#!usr/bin/node

const stdin = process.stdin,
      stdout = process.stdout,
      {Transform} = require("stream");

stdin.setEncoding("utf-8");

let tf = new Transform();

tf._transform = function (chunk,encoding,callback) {
  this.push(Buffer.from(chunk.toString('utf-8').toUpperCase()));
  callback();
}

stdin.pipe(tf).pipe(stdout);
